package com.example.weatherapp.gson;

import java.util.List;

public class Tide {
    private String code;
    private List<TideDTO> tide;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public List<TideDTO> getTide() {
        return tide;
    }

    public void setTide(List<TideDTO> tide) {
        this.tide = tide;
    }

    public static class TideDTO {
        private String fxTime;
        private String height;
        private String type; // 1-满潮 2-干潮

        public String getFxTime() {
            return fxTime;
        }

        public void setFxTime(String fxTime) {
            this.fxTime = fxTime;
        }

        public String getHeight() {
            return height;
        }

        public void setHeight(String height) {
            this.height = height;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
} 